package edu.sdjzu.exam.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class AddUsersToGroupDTO {
    @NotNull(message = "用户组ID不能为空")
    private Long groupId;

    @NotEmpty(message = "用户ID列表不能为空")
    private List<Long> userIds;
}